package com.toolkit.common;


/**
 * 通用常量信息
 * 
 * @author etrip
 */
public class Constants {
    /**
     * UTF-8 字符集
     */
    public static final String UTF8 = "UTF-8";
    /**
     * 防重提交 redis key
     */
    public static final String REPEAT_SUBMIT_KEY = "repeat_submit:";

    /**
     * GBK 字符集
     */
    public static final String GBK = "GBK";

    /**
     * www主域
     */
    public static final String WWW = "www.";

    /**
     * http请求
     */
    public static final String HTTP = "http://";

    /**
     * https请求
     */
    public static final String HTTPS = "https://";
    /**
     * 人员信息前缀
     */
    public static final String EMPLOYEE_INFO = "employee_info";
    /**
     * 角色权限前缀
     */
    public static final String PERMISSION_ROLE_ID = "permission_role_id_";

    /**
     * 是否为管理员账号
     */
    public static final String IS_ADMIN = "isAdmin";

    //获取微信openId
    public static final String  GET_WX_OPEN_ID_URL = "https://api.weixin.qq.com/sns/jscode2session";

    //获取微信token
    public static final String  GET_WX_TOKEN_URL = "https://api.weixin.qq.com/cgi-bin/token";

    //获取微信小程序二维码
    public static final String  GET_WX_QR_CODE_URL = "https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token=";
    /**
     * 用户信息
     */
    public static final String USER_INFO_KEY = "user_info_key";
}
